<h1>Roulette</h1>User: <b>kenepps9</b> Balance: <b>5</b><hr/><h2>The Bank</h2>
Use this page to run a bank. Sign some tokens to the dealer. Then anyone can bet using your tokens. Withdraw the balance when you wish.<p/>
<a href='/certificateSign/'>Sign some tokens to the dealer. </a> <i>Link to certificate Singing Request</i><p/>
<a href='/certificate/'>Dealer Certificate </a> <i>Link to dealer certificate</i>
  <table>
  <tr><td></td></tr>
  
<tr valign = 'top'><td>Seed your bank.</td><td><table>
                 <tr><td><input name='certificate' type='file'/></td></tr>
                 <tr><td>or:</td></tr>
                 <tr><td><textarea name='certificateText' cols='20' rows='2'></textarea></td></tr>
                 <tr><td><input type='submit' value='Submit'/></td>
<td>Bets are only accepted where the dealer has sufficient tokens to payout. Seed your bank so that people can bet with your tokens. <i>Tokens must contain a certificate signing tokens to the dealer. Update certificates on registrar to make sure the dealer now owns them.</i></td>
</tr>

                </table>
</td></tr>
<tr valign = 'top'><td>Cash out request?</td><td><table>
                 <tr><td><input name='certificate' type='file'/></td></tr>
                 <tr><td>or:</td></tr>
                 <tr><td><textarea name='certificateText' cols='20' rows='2'></textarea></td></tr>
                 <tr><td><input type='submit' value='Submit'/></td>
<td>The certificate signing request for payouts needs to be uploaded one time only.</td>
</tr>

                </table>
</td>

</tr>
          </table>
          <h3>Transactions</h3>

  <table border='1'>
  <tr><th>Date</th><th>Value</th><th>Type</th></tr>
  <tr><td>2010-10-17 04:19:42.719271</td><td align='right'>10</td><td>Top up</td></tr><tr><td>2010-10-17 04:33:48.774356</td><td align='right'>-5</td><td>Cash out</td></tr>
  <tr><td>&nbsp</td><td align='right'>0</td><td> Bank Winnings</td></tr>
  <tr><td>&nbsp</td><td align='right'>0</td><td> Bank Losses</td></tr>
  <tr><td>&nbsp</td><td align='right'>5</td><td>Balance</td></tr>
  </table><hr/>
            <table>

<tr><form method='post' action='/roulette/bank'	><td>Cash out?</td>
          <td><input type='submit' value='Redeem'/></td>
          <td>Selected tokens are paid out to token issuers.  <i>Can we sign over tokens to issuer without a certificate signing request from token issuer?<i></td>
          <td><input type='hidden' name='action' value='remove'/></td></form></tr>
<h3>Tokens Held</h3>

  <table border='1'>
  <tr><th>Value</th><th>Redeem</th><th>View</th></tr>
  <tr><td align='right'>1</td><td><input type="checkbox" name="Redeem" value="CerificateIdentifier"  /><br />
</td><td>
                        <a href='/roulette/detail?id=agxkcHMtcm91bGV0dGVyEwsSC1RyYW5zYWN0aW9uGLHqAQw'>detail</a></td></tr>
<tr><td align='right'>1</td><td><input type="checkbox" name="Redeem" value="CerificateIdentifier"  /><br />
</td><td>
                        <a href='/roulette/detail?id=agxkcHMtcm91bGV0dGVyEwsSC1RyYW5zYWN0aW9uGLHqAQw'>detail</a></td></tr>

<tr><td align='right'>1</td><td><input type="checkbox" name="Redeem" value="CerificateIdentifier"  /><br />
</td><td>
                        <a href='/roulette/detail?id=agxkcHMtcm91bGV0dGVyEwsSC1RyYW5zYWN0aW9uGLHqAQw'>detail</a></td></tr>

<tr><td align='right'>1</td><td><input type="checkbox" name="Redeem" value="CerificateIdentifier"  /><br />
</td><td>
                        <a href='/roulette/detail?id=agxkcHMtcm91bGV0dGVyEwsSC1RyYW5zYWN0aW9uGLHqAQw'>detail</a></td></tr>

<tr><td align='right'>1</td><td><input type="checkbox" name="Redeem" value="CerificateIdentifier"  /><br />
</td><td>
                        <a href='/roulette/detail?id=agxkcHMtcm91bGV0dGVyEwsSC1RyYW5zYWN0aW9uGLHqAQw'>detail</a></td></tr>

  </table><hr/>
            <table>
              <tr>

                <td><a href='/roulette/'>Home</a></td>
                <td><a href='/roulette/prePlay'>Play</a></td>
                <td><a href='/roulette/preBank'>Bank</a></td>
                <!--<td><a href='http://code.google.com/p/dps-x509/wiki/RegistrarPrototypeDescription'>About</a></td>-->
                <td><a href='https://appengine.google.com/dashboard?app_id=dps-roulette'>Admin</a></td>
              </tr>
            <table>